package com.example.hello;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class exciting extends AppCompatActivity implements View.OnClickListener {
private static final String TAG = "exciting1";
int score1 = 0;
int score2 = 0;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.ball);
        Button btn1 = (Button)findViewById(R.id.btn1);
        btn1.setOnClickListener(this);
        Button btn2 = (Button)findViewById(R.id.btn2);
        btn2.setOnClickListener(this);
        Button btn3 = (Button)findViewById(R.id.btn3);
        btn3.setOnClickListener(this);

    }

    @Override
    public void onClick(View btn) {
        if(btn.getId() == R.id.btn1) {

        }
        else if (btn.getId() == R.id.btn2) {

        }
        else if (btn.getId() == R.id.btn3) {

        }
    }
}